package com.dhms.vostok1.constant

import androidx.annotation.IntDef

@IntDef(
    ErrorCode.OK,
    ErrorCode.STATUS,
    ErrorCode.UN_AUTHORIZED,
    ErrorCode.CUSTOM_FIRST,
    ErrorCode.VALUE_IS_NULL
)
@Retention(AnnotationRetention.SOURCE)
annotation class ErrorCode {
    companion object {
        const val OK = 200
        const val STATUS_OK = 200.0
        const val STATUS = 400
        const val UN_AUTHORIZED = 401
        const val CUSTOM_FIRST = 600
        const val VALUE_IS_NULL = CUSTOM_FIRST + 1
    }
}
